﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseUi.Models
{
    public class PlcModels
    {
        public static string Auto => "DB80.DBX0.0";
        public class Station1
        {
            public static string State => "DB80.DBX18.3";
            public static string Laser => "I2.4";
            public static string Alarm => "DB100.DBX21.7";
            public static string StationNo => "DB4.DBW234.0";
            public static string  StartChk1 => "DB4.DBX236.0";
            public static string  EndChk1 => "DB4.DBX236.1";
            public static string  StartChk2 => "DB4.DBX236.2";
            public static string  EndChk2 => "DB4.DBX236.3";
            public static string  SendReady => "DB4.DBX236.4";
            public static string  RecvReady => "DB4.DBX236.5";
            public static string  PosData1 => "DB4.DBD238.0";
            public static string  PosData2 => "DB4.DBD242.0";
            public static string  PosData3 => "DB4.DBD246.0";
            public static string  PosData4 => "DB4.DBD250.0";
            public static string  PosData5 => "DB4.DBD254.0";
            public static string  PosData6 => "DB4.DBD258.0";
            public static string  PosData7 => "DB4.DBD262.0";
            public static string  PosData8 => "DB4.DBD266.0";
            public static string  PosData9 => "DB4.DBD270.0";
            public static string  PosData10 => "DB4.DBD274.0";
            public static string  PosData11 => "DB4.DBD278.0";
            public static string  PosData12 => "DB4.DBD282.0";
            public static string  PosData13 => "DB4.DBD286.0";
            public static string  PosData14 => "DB4.DBD290.0";
            public static string  PosData15 => "DB4.DBD294.0";
            public static string  PosData16 => "DB4.DBD298.0";
        }
        public class Station2
        {
            public static string State => "DB80.DBX18.2";
            public static string Laser => "I0.4";
            public static string Alarm => "DB100.DBX18.0";
            public static string StationNo => "DB4.DBW302.0";
            public static string StartChk1 => "DB4.DBX304.0";
            public static string EndChk1 => "DB4.DBX304.1";
            public static string StartChk2 => "DB4.DBX304.2";
            public static string EndChk2 => "DB4.DBX304.3";
            public static string SendReady => "DB4.DBX304.4";
            public static string RecvReady => "DB4.DBX304.5";
            public static string PosData1 => "DB4.DBD306.0";
            public static string PosData2 => "DB4.DBD310.0";
            public static string PosData3 => "DB4.DBD314.0";
            public static string PosData4 => "DB4.DBD318.0";
            public static string PosData5 => "DB4.DBD322.0";
            public static string PosData6 => "DB4.DBD326.0";
            public static string PosData7 => "DB4.DBD330.0";
            public static string PosData8 => "DB4.DBD334.0";
            public static string PosData9 => "DB4.DBD338.0";
            public static string PosData10 => "DB4.DBD342.0";
            public static string PosData11 => "DB4.DBD346.0";
            public static string PosData12 => "DB4.DBD350.0";
            public static string PosData13 => "DB4.DBD354.0";
            public static string PosData14 => "DB4.DBD358.0";
            public static string PosData15 => "DB4.DBD362.0";
            public static string PosData16 => "DB4.DBD366.0";
        }
    }
}
